1: | active(2nd(cons(X,cons(Y,Z)))) | → mark(Y) | |
2: | active(from(X)) | → mark(cons(X,from(s(X)))) | |
3: | active(2nd(X)) | → 2nd(active(X)) | |
4: | active(cons(X1,X2)) | → cons(active(X1),X2) | |
5: | active(from(X)) | → from(active(X)) | |
6: | active(s(X)) | → s(active(X)) | |
7: | 2nd(mark(X)) | → mark(2nd(X)) | |
8: | cons(mark(X1),X2) | → mark(cons(X1,X2)) | |
9: | from(mark(X)) | → mark(from(X)) | |
10: | s(mark(X)) | → mark(s(X)) | |
11: | proper(2nd(X)) | → 2nd(proper(X)) | |
12: | proper(cons(X1,X2)) | → cons(proper(X1),proper(X2)) | |
13: | proper(from(X)) | → from(proper(X)) | |
14: | proper(s(X)) | → s(proper(X)) | |
15: | 2nd(ok(X)) | → ok(2nd(X)) | |
16: | cons(ok(X1),ok(X2)) | → ok(cons(X1,X2)) | |
17: | from(ok(X)) | → ok(from(X)) | |
18: | s(ok(X)) | → ok(s(X)) | |
19: | top(mark(X)) | → top(proper(X)) | |
20: | top(ok(X)) | → top(active(X)) | |
21: | ACTIVE(from(X)) | → CONS(X,from(s(X))) | |
22: | ACTIVE(from(X)) | → FROM(s(X)) | |
23: | ACTIVE(from(X)) | → S(X) | |
24: | ACTIVE(2nd(X)) | → 2nd#(active(X)) | |
25: | ACTIVE(2nd(X)) | → ACTIVE(X) | |
26: | ACTIVE(cons(X1,X2)) | → CONS(active(X1),X2) | |
27: | ACTIVE(cons(X1,X2)) | → ACTIVE(X1) | |
28: | ACTIVE(from(X)) | → FROM(active(X)) | |
29: | ACTIVE(from(X)) | → ACTIVE(X) | |
30: | ACTIVE(s(X)) | → S(active(X)) | |
31: | ACTIVE(s(X)) | → ACTIVE(X) | |
32: | 2nd#(mark(X)) | → 2nd#(X) | |
33: | CONS(mark(X1),X2) | → CONS(X1,X2) | |
34: | FROM(mark(X)) | → FROM(X) | |
35: | S(mark(X)) | → S(X) | |
36: | PROPER(2nd(X)) | → 2nd#(proper(X)) | |
37: | PROPER(2nd(X)) | → PROPER(X) | |
38: | PROPER(cons(X1,X2)) | → CONS(proper(X1),proper(X2)) | |
39: | PROPER(cons(X1,X2)) | → PROPER(X1) | |
40: | PROPER(cons(X1,X2)) | → PROPER(X2) | |
41: | PROPER(from(X)) | → FROM(proper(X)) | |
42: | PROPER(from(X)) | → PROPER(X) | |
43: | PROPER(s(X)) | → S(proper(X)) | |
44: | PROPER(s(X)) | → PROPER(X) | |
45: | 2nd#(ok(X)) | → 2nd#(X) | |
46: | CONS(ok(X1),ok(X2)) | → CONS(X1,X2) | |
47: | FROM(ok(X)) | → FROM(X) | |
48: | S(ok(X)) | → S(X) | |
49: | TOP(mark(X)) | → TOP(proper(X)) | |
50: | TOP(mark(X)) | → PROPER(X) | |
51: | TOP(ok(X)) | → TOP(active(X)) | |
52: | TOP(ok(X)) | → ACTIVE(X) | |